package com.atguigu.acl.config;

import com.atguigu.serviceBase.config.BaseSwaggerConfig;
import com.atguigu.serviceBase.domain.SwaggerProperties;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author Summerday
 */
@EnableSwagger2
@Configuration
public class AclSwaggerConfig extends BaseSwaggerConfig {
    @Override
    public SwaggerProperties swaggerProperties() {
        return SwaggerProperties.builder()
                .apiBasePackage("com.atguigu.acl.controller")
                .title("谷粒学院后台")
                .description("权限控制后台相关接口文档")
                .contactName("summer day")
                .version("1.0")
                .enableSecurity(true)
                .build();

    }
}
